<template>
    <view class="contact">
        <image class="img" src="http://www.itcast.cn"></image>
        <view class="info">
            <view @click="phone">联系电话：400-618-9090</view>
            <view>校区地址：xxxxxxxxx</view>
        </view>
        <map class="map" :logitude="logitude" :scale="scale" :latitude="latitude" :markers="markers"></map>
    </view>
</template>
<script>
export default{
    data(){
        return{
            logitude:1111,
            latitude:1111,
            scale:12,
            markers:[
                {
                    logitude:1111,
                    latitude:1222,
                    width:30,
                    height:20
                }
            ]
        }
    },
    methods:{
        phone(){
            uni.makePhoneCall({
                phoneNumber:'400-618-9090'
            })
        }
    }
}
</script>